import http from '@/utils/http'

const baseURL  = '/index'



/**
 * 获取全部地址数据
 */
export function fetchAddressAllApi() {
  return http.get(baseURL + '/fetchAddressAll', {}, { custom: { loading: true } });
}

/**
 * 图片上传
 */

export function uploadImgApi(data) {
  return http.post(baseURL + '/uploadImg', data, { custom: { loading: true } });
}


